using Game.Core;
using Game.Main.Model;
using Game.Manager;

namespace Game.Component
{
	public class GasStoveItem : ClickShowItem
	{
		public override void Init(ItemArchiveData data)
		{
			base.Init(data);
		}

		public override void SetState(State val)
		{
			base.SetState(val);
			if (state == State.Show)
			{
				Singleton<AudioManager>.Instance.PlayAudio("sound_gas_stove", true, GetAudioPlayer());
			}
			else
			{
				RemoveAudioPlayer();
			}
		}
	}
}
